<span class="view">
	<?php
		echo CHtml::link(CHtml::encode($data->username), array('view', 'id'=>$data->id)); 
	?>
</span>